package com.mijie.homi.search.service.user;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.mijie.homi.search.dao.user.FriendDao;

@Service
public class FriendSerivce {

	@Autowired
	private FriendDao dao;
	
	public boolean isFriend(int userId,int friendId){
		return dao.isFriend(userId, friendId);
	}
}
